/*
 * Created on Jan 12, 2009
 */
package ak.salmon.model;

import java.awt.Point;

import ak.salmon.markup.DrawingPalette;



public interface DrawingElement {

    public void plan();
    public void position(Point point);
    public void draw(DrawingPalette palette);
    
    public Point getTopHub();
    public Point getLeftHub();
    public Point getRightHub();
    public Point getBottomHub();

    public int getWidth();
    public int getHeight();
    public int getChildrenWidth();
    public int getChildrenHeight();
    
    public void setRelativePosition(Point point);
    public Point getRelativePosition();
}
